package www.ld.com.domain.attr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import www.ld.com.dictionary.AttrTypeEnum;

@Data
@Accessors(chain = true)
@ToString
@ApiModel(value = "AttrVO", description = "属性")
public class AttrVO {
    @ApiModelProperty(value = "属性id")
    private String id;
    @ApiModelProperty(value = "属性名称")
    private String name;
    @ApiModelProperty(value = "是否需要检索")
    private Boolean searchType;
    @ApiModelProperty(value = "属性图标")
    private String icon;
    @ApiModelProperty(value = "可选值")
    private String valueSelect;
    @ApiModelProperty(value = "属性类型")
    private AttrTypeEnum attrType;
    @ApiModelProperty(value = "启用状态")
    private Boolean enable;
    @ApiModelProperty(value = "所属分类")
    private String categoryId;
    @ApiModelProperty(value = "所属分类名称")
    private String categoryName;
    @ApiModelProperty(value = "展示在介绍上")
    private Boolean showDesc;
}
